using System;
using System.Collections.Generic;
using System.Text;

namespace SnakeCharp.Interfaces
{
    /// <summary>
    /// All Entities that can be eaten by a Snake should implement this interface
    /// </summary>
    interface IEatable
    {
        /// <summary>
        /// Is this item gone and should be removed from the game
        /// </summary>
        /// <value>The is gone.</value>
        bool IsEaten
        {
            get;
        }

        /// <summary>
        /// Gets the points that this gives when
        /// </summary>
        /// <value>The points.</value>
        int Points
        {
            get;
        }

        /// <summary>
        /// Acts opon collision with another entity.
        /// </summary>
        void ActOponCollision(object collisionObject);
    }
}
